package com.hxs.hxsserver.domain.dto.device;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liuchuan
 * @create 2024/10/10
 */
@Data
@ApiModel("继电器开关控制")
public class RelayManageDTO {

    /**
     * 继电器编号
     */
    @ApiModelProperty(value = "继电器编号")
    private int relayNo;

    @ApiModelProperty(value = "继电器开关，true为开，false为关")
    private Boolean status;

    @ApiModelProperty(value = "继电器全开或全关，有值时，其他两个参数不填，true为开，false为关")
    private Boolean allStatus;

    @ApiModelProperty(value = "设备硬件地址码，长度十位")
    private String deviceHardwareAddr;
}
